<%@ page language="java" import="com.yb.util.comm.RequestUtil" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib uri="estateTag" prefix="estateTag" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String name = RequestUtil.getParam(request, "name", "");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<title>拼购设置</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		
		<link rel="stylesheet" type="text/css"
			href="../resource/css/easyui/default/easyui.css">
		<link rel="stylesheet" type="text/css"
			href="../resource/css/easyui/icon.css">
		<link rel="stylesheet" href="../resource/css/global.css" type="text/css"></link>
		<script type="text/javascript" src="../resource/js/jquery-1.4.2.js"></script>
		<script type="text/javascript"
			src="../resource/js/easyui/jquery.easyui.min.js"></script>
		<script type="text/javascript"
			src="../resource/js/easyui/easyui-lang-zh_CN.js"></script>
		<script type="text/javascript" src="<%=basePath%>pinggou/pinggoulist.js"></script>
		<link rel="stylesheet" href="../resource/css/whole.css" type="text/css"></link>
		<STYLE type="text/css">
			#operate a:link {
				color: black;
				text-decoration: none;
			}  /* unvisited link */
			#operate a:visited {
				color: black;
				text-decoration: none;
			}  /* visited link */
			#operate a:hover {
				color: #FFA028;
				text-decoration: underline;
			}  /* mouse over link */
			#operate a:active {
				color: #FFA028;
				text-decoration: none;
			}  /* selected link */
		</STYLE>
		  <script type="text/javascript">
	var name = '<%=name%>';
</script>
	</head>
	<body><estateTag:security></estateTag:security>
		<center><jsp:include page="../index/top.jsp"></jsp:include></center>
		<div style="width: 100%; margin-top: 10px;" align="center">
			<input id="menuCls" type="hidden" value="34">
			<table class="layoutTab" style="border: 0px red solid;">
				<tr>
				<!-- 	<td width="20%" align="left" valign="top"><jsp:include
							page="../menu.jsp"></jsp:include></td> -->
					<td valign="top" align="center">
						<form name="form" method="post">
							<table width="100%" border="0" cellpadding="1" cellspacing="1">
								<tr>
									<td>
										<div class="searchhead2"></div>
										<div class="searchcenter h25">
											<div align="left" style="width: 735px; float: left;font-size: 15px;">
												<div class="searchline">
												<nobr><img src="../resource/img/searchline.gif" align="middle"/>
												拼购品牌：<input type="text" name="name" id="name" size="20" maxlength="50" value="<%=name%>">
													<img src="../resource/img/searchline.gif" align="middle" />
													产品类别:
													<input type="hidden" value="${id}" name="id" />
													<select name="tgInformation.PcategoryId"
														onchange="bigCategoryChange()" id="bigCategory">
														    <option value="0">
																请选择
															</option>
														<s:iterator value="catrows">
															<option value="<s:property value="id"/>">
																<s:property value="name" />
															</option>
														</s:iterator>
													</select>&nbsp;&nbsp;子类别:
													<span id="smallCategory">
													<select	name="categoryId" id="categoryId">
															<option value="0">
																请选择
															</option>
														</select> </span>&nbsp;&nbsp;种类:
													<span id="goodsType">
													<select name="typeId" id="typeId">
															<option value="0">
																请选择
															</option>
														</select> </span>
													<img src="../resource/img/searchline.gif" align="middle" />
													<a id="searchid" href="javascript:onSearch()"></a>
													<img src="../resource/img/searchline.gif" align="middle" /></nobr>
												</div>
											</div>
											<div style="clear: both;"></div>
										</div>
										<div class="searchfloot2"></div>
									</td>
								</tr>
								<tr>
									<td valign="top" style="clear: none" align="left">
										<table id="pinggou">
										</table>
									</td>
								</tr>
							</table>
						</form>
					</td>
				</tr>
			</table>
		</div>
		<div id="modifyWindow">
			<table width="100%" height="100%">
				<tr><td>修改权重</td><td><input type="text" id="weightValue"/>
				<input type="hidden" id="brandIdValue"/>
				<input type="hidden" id="categoryIdw"/>
				<input type="hidden" id="typeIdw"/>
				</td></tr>
			</table>
		</div>
		<center> <iframe src="../index/footer.html" width="970" height="120" frameborder="0" scrolling="no"></iframe> </center></body>
</html>
